@extends('back.index')
@section('title','课程管理')

@section('style')

@endsection
@section('mian')

    <div style="font-size:14px;padding:20px;" class="modal-content">
        <div class="my-order-wrap">
            <table class="table table-hover my-order-list" data-token="b85c364572f96a34c7a2e04eeee935e4">
                <thead>
                <tr class="info" style="text-align:center;">
                    <th>ID</th>
                    <th class="order-shoop-h">订单编号</th>
                    <th class="order-name-h">书籍名</th>
                    <th class="order-img-h">收货人</th>
                    <th class="order-name-h">下单时间</th>
                    <th class="order-name-h">购买的章节数量</th>
                    <th class="order-name-h">单价</th>
                    <th class="order-name-h">总价</th>
                </tr>
                </thead>
                <tbody>
                    @foreach($order as $k)
                        <tr>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->id}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->orderson}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->bookname}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->nickname}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{date('Y-m-d',$k->addtime)}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->num}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->danjia}}
                                    </div>
                                </div>
                            </td>
                            <td class="order-time-b">
                                <div class="ie8-td-fixed">
                                    <div style="height:100px;">
                                        {{$k->sum}}
                                    </div>
                                </div>
                            </td>
                        </tr>
                    @endforeach
                </tbody>
            </table>
            {{$order->links()}}
        </div>
    </div>
@endsection